import 'package:flutter_bilibili/core/model/space_acc_info_model.dart';
import 'package:flutter_bilibili/core/service/utils/http_request.dart';

class HYSpaceAccInfoRequest {
  static Future<HYSpaceAccInfoModel> getSpaceAccInfoData(int mid) async {
    final url = "/space/acc/info?mid=${mid}";
    final result = await HttpBaseRequest.request("base", url);
    final data = result["data"];
    return HYSpaceAccInfoModel.fromJson(data);
  }
}
